.class public Lcom/instagram/android/creation/a/a;
.super Ljava/lang/Object;
.source "RenderFullCallback.java"

# interfaces
.implements Lcom/instagram/creation/photo/gl/i;


# instance fields
.field private final a:Lcom/instagram/android/creation/b/al;


# direct methods
.method public constructor <init>(Lcom/instagram/android/creation/b/al;)V
    .locals 0
    .parameter

    .prologue
    .line 17
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 18
    iput-object p1, p0, Lcom/instagram/android/creation/a/a;->a:Lcom/instagram/android/creation/b/al;

    .line 19
    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    .prologue
    .line 36
    iget-object v0, p0, Lcom/instagram/android/creation/a/a;->a:Lcom/instagram/android/creation/b/al;

    invoke-virtual {v0}, Lcom/instagram/android/creation/b/al;->getContext()Landroid/content/Context;

    move-result-object v0

    sget v1, Lcom/facebook/ba;->unable_to_save_full_image:I

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    .line 42
    iget-object v0, p0, Lcom/instagram/android/creation/a/a;->a:Lcom/instagram/android/creation/b/al;

    invoke-virtual {v0}, Lcom/instagram/android/creation/b/al;->ab()V

    .line 43
    return-void
.end method

.method public a(I)V
    .locals 4
    .parameter

    .prologue
    .line 29
    new-instance v0, Lcom/instagram/android/r/a;

    iget-object v1, p0, Lcom/instagram/android/creation/a/a;->a:Lcom/instagram/android/creation/b/al;

    invoke-virtual {v1}, Lcom/instagram/android/creation/b/al;->getContext()Landroid/content/Context;

    move-result-object v1

    invoke-virtual {v1}, Landroid/content/Context;->getContentResolver()Landroid/content/ContentResolver;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/instagram/android/r/a;-><init>(Landroid/content/ContentResolver;)V

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Integer;

    const/4 v2, 0x0

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-virtual {v0, v1}, Lcom/instagram/android/r/a;->c([Ljava/lang/Object;)Lcom/instagram/d/a;

    .line 32
    iget-object v0, p0, Lcom/instagram/android/creation/a/a;->a:Lcom/instagram/android/creation/b/al;

    invoke-virtual {v0}, Lcom/instagram/android/creation/b/al;->ab()V

    .line 33
    return-void
.end method
